
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont el-icon-my-duidie"></i>
                    <div class="name">堆叠</div>
                    <div class="fontclass">.el-icon-my-duidie</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-fangxiang2"></i>
                    <div class="name">方向2</div>
                    <div class="fontclass">.el-icon-my-fangxiang2</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-fangxiang1"></i>
                    <div class="name">方向1</div>
                    <div class="fontclass">.el-icon-my-fangxiang1</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-liebiao"></i>
                    <div class="name">列表</div>
                    <div class="fontclass">.el-icon-my-liebiao</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-daochu"></i>
                    <div class="name">导出</div>
                    <div class="fontclass">.el-icon-my-daochu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-daoru"></i>
                    <div class="name">导入</div>
                    <div class="fontclass">.el-icon-my-daoru</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-suolvetu"></i>
                    <div class="name">缩略图</div>
                    <div class="fontclass">.el-icon-my-suolvetu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-jiankanglv"></i>
                    <div class="name">健康率</div>
                    <div class="fontclass">.el-icon-my-jiankanglv</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-fangxiang-copy"></i>
                    <div class="name">方向</div>
                    <div class="fontclass">.el-icon-my-fangxiang-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-ie"></i>
                    <div class="name">ie</div>
                    <div class="fontclass">.el-icon-my-ie</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-pdf"></i>
                    <div class="name">PDF</div>
                    <div class="fontclass">.el-icon-my-pdf</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-zhuzhuangtu"></i>
                    <div class="name">柱状图</div>
                    <div class="fontclass">.el-icon-my-zhuzhuangtu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-fenxi"></i>
                    <div class="name">分析</div>
                    <div class="fontclass">.el-icon-my-fenxi</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-leidatu"></i>
                    <div class="name">雷达图</div>
                    <div class="fontclass">.el-icon-my-leidatu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-zhuzhuangtu1"></i>
                    <div class="name">柱状图</div>
                    <div class="fontclass">.el-icon-my-zhuzhuangtu1</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-bingtu"></i>
                    <div class="name">饼图</div>
                    <div class="fontclass">.el-icon-my-bingtu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-zhexiantu"></i>
                    <div class="name">折线图</div>
                    <div class="fontclass">.el-icon-my-zhexiantu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-yibiaopan"></i>
                    <div class="name">仪表盘</div>
                    <div class="fontclass">.el-icon-my-yibiaopan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-notallcheck"></i>
                    <div class="name">减</div>
                    <div class="fontclass">.el-icon-my-notallcheck</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-zujian"></i>
                    <div class="name">06-组件</div>
                    <div class="fontclass">.el-icon-my-zujian</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-dot"></i>
                    <div class="name">点</div>
                    <div class="fontclass">.el-icon-my-dot</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-wenhao"></i>
                    <div class="name">问号</div>
                    <div class="fontclass">.el-icon-my-wenhao</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-plus"></i>
                    <div class="name">加号</div>
                    <div class="fontclass">.el-icon-my-plus</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-addition_fill"></i>
                    <div class="name">addition_fill</div>
                    <div class="fontclass">.el-icon-my-addition_fill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-computer"></i>
                    <div class="name">computer</div>
                    <div class="fontclass">.el-icon-my-computer</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-createtask"></i>
                    <div class="name">createtask</div>
                    <div class="fontclass">.el-icon-my-createtask</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-delete_fill"></i>
                    <div class="name">delete_fill</div>
                    <div class="fontclass">.el-icon-my-delete_fill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-document"></i>
                    <div class="name">document</div>
                    <div class="fontclass">.el-icon-my-document</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-live"></i>
                    <div class="name">live</div>
                    <div class="fontclass">.el-icon-my-live</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-mail"></i>
                    <div class="name">mail</div>
                    <div class="fontclass">.el-icon-my-mail</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-offline_fill"></i>
                    <div class="name">offline_fill</div>
                    <div class="fontclass">.el-icon-my-offline_fill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-offline"></i>
                    <div class="name">offline</div>
                    <div class="fontclass">.el-icon-my-offline</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-video"></i>
                    <div class="name">video</div>
                    <div class="fontclass">.el-icon-my-video</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-fengexian"></i>
                    <div class="name">分隔线</div>
                    <div class="fontclass">.el-icon-my-fengexian</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-lishi"></i>
                    <div class="name">历史</div>
                    <div class="fontclass">.el-icon-my-lishi</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-fangxiang-copy1"></i>
                    <div class="name">方向</div>
                    <div class="fontclass">.el-icon-my-fangxiang-copy1</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-baocun"></i>
                    <div class="name">保存</div>
                    <div class="fontclass">.el-icon-my-baocun</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-404"></i>
                    <div class="name">404</div>
                    <div class="fontclass">.el-icon-my-404</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-quanquan"></i>
                    <div class="name">圈圈</div>
                    <div class="fontclass">.el-icon-my-quanquan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-exit-fullscreen"></i>
                    <div class="name">exit-fullscreen</div>
                    <div class="fontclass">.el-icon-my-exit-fullscreen</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-fullscreen"></i>
                    <div class="name">fullscreen</div>
                    <div class="fontclass">.el-icon-my-fullscreen</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">el-icon-my-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
